type io/fs.subFS
11 uses
io/fs (current package)
sub.go#L44: return &subFS{fsys, dir}, nil
sub.go#L47: type subFS struct {
sub.go#L53: func (f *subFS) fullName(op string, name string) (string, error) {
sub.go#L61: func (f *subFS) shorten(name string) (rel string, ok bool) {
sub.go#L72: func (f *subFS) fixErr(err error) error {
sub.go#L81: func (f *subFS) Open(name string) (File, error) {
sub.go#L90: func (f *subFS) ReadDir(name string) ([]DirEntry, error) {
sub.go#L99: func (f *subFS) ReadFile(name string) ([]byte, error) {
sub.go#L108: func (f *subFS) Glob(pattern string) ([]string, error) {
sub.go#L129: func (f *subFS) Sub(dir string) (FS, error) {
sub.go#L137: return &subFS{f.fsys, full}, nil
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |